package net.cl7.controller;

import net.cl7.util.CommonResult;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class HelloController {

    @GetMapping("say_hi")
    @ResponseBody
    public CommonResult sayHi(){
        return CommonResult.ok();
    }
}
